package com.quanyan.pay.service;

import com.quanyan.pay.entity.WeichatAccount;
import com.quanyan.weichat.common.Configure;

/**
 * Created by Zheng.Ke
 * Date 2016/7/28.
 */
public interface WeichatAccountService {
    /**
     * 根据aid获取Configure
     * @param aId
     * @param needCert
     * @return
     */
    Configure getWeichatConfigure(Integer aId, boolean needCert);

    /**
     * 根据weichatAccount获取Configure
     * @param weichatAccount
     * @param needCert
     * @return
     */
    Configure getWeichatConfigure(WeichatAccount weichatAccount, boolean needCert);

    /**
     * 根据mchId和payId获取WeichatAccount
     * @param mchId
     * @param payId
     * @return
     */
    WeichatAccount getWeichatConfigure(String mchId, int payId);

}
